package org.example.notificationservice.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Map;

@Data
@Document(collection = "notification_templates")
public class NotificationTemplate {
    @Id
    private String id;
    private String name;
    private String description;
    private String subject;
    private String content;
    private Notification.NotificationType type;
    private Map<String, Object> defaultMetadata;
}